import React from 'react';
import Router from './router';
// 这里我封装了，其实就使用react-router-dom的Link
import MyNavLink from '@/components/MyNavLink';
import './App.less';
import { Button } from 'antd';

function App() {
    return (
        <div className="App">
            <MyNavLink to="/">Home Page</MyNavLink>
            <MyNavLink to="/about">About Page</MyNavLink>
            <Button>法拉利fg</Button>
            <Router />
        </div>
    );
}

export default App;
